Skip to main content

All Questions

0votes
0answers
123views

Can I change bootstrap 3 to bootstrap 4 in my rails app?

I used bootstrap 3(bootstrap-sass gem) in my project. But I want to change it to a fourth bootstrap (gem 'bootstrap'). I change the line gem 'bootstrap-sass', '~> 3.4.1' to gem 'bootstrap', '~> ...
SsPay's user avatar
0votes
1answer
238views

Rails: Move close button on Bootstrap alert messages

I have added the flash messages feature to my rails app. <% flash.each do |key, value| %> <% unless key.to_s == 'timedout' %> <div class="alert alert-<%= key %>"> &...
Theopap's user avatar
1vote
0answers
161views

Heroku/Bootstrap/Rails dropdown menu

I have an issue in a rails app where a boostrap dropdown navigation is not working on the pages served from Heroku - though works fine on local and the page source itself matches on both local and ...
Drew Johnston's user avatar
0votes
1answer
349views

After update/replace bootstrap-sass (3.3.7) to bootstrap (4.1.1)

I use RAILS 5.1 and I want to replace bootstrap-sass (3.3.7) by bootstrap (4.1.1). I followed the instructions on https://github.com/twbs/bootstrap-rubygem and after that I see that the Load path ...
Sven Kirsten's user avatar
0votes
1answer
192views

Rails app which uses bootstrap 3.3.6 doesn't have viewport in head

EDIT-2> It wasn't working on my homepage because I was using a custom template for the homepage, if not signed in. I've created a Rails app using Bootstrap 3.3.6, Rails 5.1.5. I have bootstrap ...
Olliedee's user avatar
0votes
2answers
51views

html - Bootstrap 3 collapse button appears but no effect when clicked?

I'm trying to make it so that when I click my collapse button, the two labels will appear, but it's not happening even though the data-target and id (colnav) of the navbar are same. <nav class="...
thepersonwho's user avatar
4votes
3answers
2kviews

Navbar Collapse not working on Rails 5/Bootstrap 3

When the navbar menu changes to a dropdown menu, the button to access the menu is unresponsive. I have tried: reordering the code doing a rake assets:clean trying with JS And still can't figure out ...
Bardia Pourvakil's user avatar
0votes
1answer
72views

bootstrap format rails output in columns

I'm trying to figure out how to align my rails output into 3 columns of equal length using bootstrap. Basically i need three columns, the issue is that if I have 12 "skills" i would like them to be ...
random_user_0891's user avatar
1vote
1answer
121views

Hartl Rails Tutorial Chapter 7 field with error still black

In part 7.3.3 all input fields with class="form_control" nested in divs with class="field_with_errors" should be colored red. But this is what I get. custom.scss includes: #error_explanation { ...
Alex's user avatar
1vote
0answers
607views

Send data to controller through modal in rails 4

I'm new in RoR and I'm stuck in this situation for a time now. I'm using a bootstrap modal with a table showing the users from database, and besides each a rage field. Need to send to controller the ...
Eduardo Córdova's user avatar
0votes
1answer
2kviews

Make Bootstrap-Select button go full width (responsive) with btn-block

I'm experimenting with the Bootstrap Select Field from silvio moreto and it turns out that it's using bootstrap btn and form-control classes. My select field is surrounded by a responsive column col-...
Stef Hej's user avatar
-2votes
1answer
466views

Create Panel with sidebar rails

Im new to rails. I need to create a panel for each company that is entered, Ideally similar to wordpress admin. Is there an example that can help me? I need to create a sidebar that will change the ...
Miguel Abdon's user avatar
0votes
1answer
1kviews

navbar hide text in bootstrap

I have the problem that hides the text behind the bar, as in the image below. code Toggle navigation ...
Miguel Abdon Hollstein's user avatar
0votes
4answers
2kviews

Bootstrap - Navbar Collapse menu not displaying

My navbar does not collapse correctly. When the window is made smaller, the navbar disappears completely and the replacement accordion menu does not get displayed. Ideas? <section id='mainnavbar'&...
user2012677's user avatar
0votes
1answer
300views

How Do I Implement a Popover in a Rails Partial Using Bootstrap 3?

I currently have a Rails 4 application running Bootstrap 2 (gem twitter-bootstrap-rails 2.2.8). I was successful in implementing a popover using partials where a map is displayed when a link is ...
Pamela Cook - LightBe Corp's user avatar

153050per page
close